﻿@model Bootstrap.Admin.Models.NavigatorBarModel
@{
    ViewBag.Title = "程序异常";
    Layout = "~/Views/Shared/_Admin.cshtml";
}
@section css {
    <link href="~/css/bootstrap-table.css" rel="stylesheet" />
    <link href="~/css/bootstrap-datetimepicker.css" rel="stylesheet" />
    <link href="~/css/fa.css" rel="stylesheet" />
}
@section Javascript {
    <script src="~/js/bootstrap-table.js"></script>
    <script src="~/js/bootstrap-table-zh-CN.js"></script>
    <script src="~/js/longbow.dataentity.js"></script>
    <script src="~/js/bootstrap-datetimepicker.js"></script>
    <script src="~/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="~/js/exceptions.js"></script>
}
<div class="card">
    <div class="card-header">查询条件</div>
    <div class="card-body">
        <form class="form-inline">
            <div class="form-row">
                <div class="form-group col-sm-6 col-lg-5">
                    <label class="control-label" for="txt_operate_start">起始时间</label>
                    <div class="input-group date form_date">
                        <input id="txt_operate_start" class="form-control" size="16" type="text" value="" readonly>
                        <div class="input-group-append input-group-addon">
                            <div class="input-group-text"><span class="fa fa-times"></span></div>
                        </div>
                        <div class="input-group-append input-group-addon">
                            <div class="input-group-text"><span class="fa fa-calendar"></span></div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-sm-6 col-lg-5">
                    <label class="control-label" for="txt_operate_end">终止时间</label>
                    <div class="input-group date form_date">
                        <input id="txt_operate_end" class="form-control" size="16" type="text" value="" readonly>
                        <div class="input-group-append input-group-addon">
                            <div class="input-group-text"><span class="fa fa-times"></span></div>
                        </div>
                        <div class="input-group-append input-group-addon">
                            <div class="input-group-text"><span class="fa fa-calendar"></span></div>
                        </div>
                    </div>
                </div>
                <div class="form-group col-lg-2">
                    <label class="sr-only"></label>
                    <button type="button" id="btn_query" class="btn btn-primary btn-fill"><i class="fa fa-search" aria-hidden="true"></i><span>查询</span></button>
                </div>
            </div>
        </form>
    </div>
</div>
<div id="toolbar" class="btn-group d-none">
    <button id="btn_view" type="button" class="btn btn-danger">
        <i class="fa fa-file-text-o" aria-hidden="true"></i><span>服务器日志</span>
    </button>
    <div class="toolbar btn-group dropdown">
        <button class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" type="button"><i class="fa fa-gear"></i></button>
        <div class="dropdown-menu">
            <a id="tb_view" href="#" title="查看明细"><i class="fa fa-file-text-o"></i></a>
        </div>
    </div>
</div>
<div class="card">
    <div class="card-header">
        查询结果
    </div>
    <div class="card-body">
        <table></table>
    </div>
</div>
@section modal {
    <div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
        <div id="errorList" class="modal-dialog modal-dialog-centered modal-lg" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="myModalLabel">程序异常日志窗口</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                </div>
                <div class="modal-body">
                    <form class="form-inline" id="dataForm" name="dataForm"><div class="form-row"></div></form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">
                        <i class="fa fa-times"></i>
                        <span>关闭</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
    <div id="errorDetail" class="modal-content icon-content">
        <div class="modal-header">
            <h5 class="modal-title" id="myDetailModalLabel">程序异常日志窗口</h5>
            <button type="button" class="close" aria-hidden="true">&times;</button>
        </div>
        <div class="modal-body">
            <div class="iconview">
                <i id="fa-top" class="fa-target"></i>
                <div class="affix">
                    <div><a href="#fa-top" class="fa fa-arrow-circle-up"></a></div>
                    <div><a href="#fa-bottom" class="fa fa-arrow-circle-down"></a></div>
                </div>
                <div id="dataFormDetail" class="ex-content"><div class="text-center"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i></div></div>
                <i id="fa-bottom" class="fa-target"></i>
            </div>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn btn-secondary">
                <i class="fa fa-times"></i>
                <span>关闭</span>
            </button>
        </div>
    </div>
}
